package com.project.webpage.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "T_WebLog")
public class WebLog implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 操作类型（0:访问，1：登录，2:新增，3:更新，4：删除，5：导出，6：导入）
     */
    @Column(name = "Operation")
    private Integer operation;

    /**
     * 访问地址
     */
    @Column(name = "Url")
    private String url;

    /**
     * 访问参数
     */
    @Column(name = "Params")
    private String params;

    /**
     * 描述
     */
    @Column(name = "Content")
    private String content;

    /**
     * IP
     */
    @Column(name = "IP")
    private String ip;

    /**
     * 用户
     */
    @Column(name = "CreateUser")
    private String createUser;


    /**
     * 创建时间
     */
    @Column(name = "CreateTime")
    private Date createTime;


}
